package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 用户语音
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_sound")
public class UserSound implements java.io.Serializable{

    private ObjectId id; //主键id
    private Long sid; //自动增长
    private Long userId;//用户id
    private Long created; //语音创建时间
    private String date;//日期
    private String soundFileUrl; //语音文件url
}